/**
 *Created by Heqi on 2018/3/31.
 */
import { AbstractSearchArgument } from '../../global'
import { CONDITION_TYPE, DATE_PICKER_SHOW_TYPE } from '@/utils/constants'

const SEARCH_CONDITION = [
  {
    name: 'day',
    title: '日期',
    placeholder: '',
    type: CONDITION_TYPE.DATE,
    value: '',
    visible: true,
    config: {
      type: DATE_PICKER_SHOW_TYPE.DATE,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd'
    }
  }
]

class SearchArgument extends AbstractSearchArgument {
  constructor () {
    super()

    this.day = ''
  }
}

export {
  SEARCH_CONDITION,
  SearchArgument
}
